import request from '@/utils/request'

export const btnSelectQgLeftListByMo = (mo) => {
	return request({
		url: '/development/v9/QgBenchController/btnSelectQgLeftListByMo',
		method: 'get',
		params: {
			mo
		}
	})
}

export const getAllBulkMates = (jobId, jobCode, mateCode) => {
  return request({
    url: '/development/v9/QgSceneController/getAllBulkMates',
    method: 'get',
    params: {
      jobId: jobId,
      jobCode,
      mateCode
    }
  })
}

export const saveBulkMate = (data, userId, userName) => {
  return request({
    url: '/development/v9/QgSceneController/saveBulkMate',
    method: 'post',
    data: data,
    params: {
      userId: userId,
      userName: userName
    }
  })
}